import { _decorator, Component, Node, RigidBody } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('Test')
export class Test extends Component {
    start() {
        this.scheduleOnce(() => {
            console.log("mask", this.node.getComponent(RigidBody).getMask())
        }, 1)
    }

    update(deltaTime: number) {
        
    }
}


